GtkPageSetup: Improve formatting of size
authorMatthias Clasen <mclasen@redhat.com>
Thu, 21 Aug 2014 21:01:54 +0000 (17:01 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 21 Aug 2014 21:07:00 +0000 (17:07 -0400)
Use U+00D7 MULTIPLICATION SIGN and U+200A HAIR SPACE instead of plain
old 'x' and ' ', following https://wiki.gnome.org/Design/OS/Typography.

Sadly, many fonts don't have space variations, so Pango/harfbuzz fall
back to using the regular space glyph anyway.

gtk/gtkpagesetupunixdialog.c

index 590de9b9128110c381df46bc65c3f366a66745b3..d24d34af694c31cbce25f487dfe4f6cac419a8d2 100644 (file)
@@ -143,7 +143,7 @@ static const gchar common_paper_sizes[][16] = {
   "iso_dl",
   "jpn_chou3",
   "na_ledger",
-  "iso_a3",
+  "iso_a3"
 };
 
 
@@ -818,7 +818,7 @@ paper_size_changed (GtkComboBox            *combo_box,
                             unit);
       h = double_to_string (gtk_page_setup_get_paper_height (page_setup, unit),
                             unit);
-      str = g_strdup_printf ("%s x %s %s", w, h, unit_str);
+      str = g_strdup_printf ("%s × %s %s", w, h, unit_str);
       g_free (w);
       g_free (h);